﻿<UserControl x:Class="ModernWSPView.Pages.PageListContentTypes2"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             xmlns:mui="http://firstfloorsoftware.com/ModernUI"
             mc:Ignorable="d" 
             d:DesignHeight="300" d:DesignWidth="300">
    <Grid Style="{StaticResource ContentRoot}">
        <!-- TODO: set @SelectedSource -->
        <mui:ModernTab Layout="List" Links="{Binding Path=AllLinks}" >
        <!--<mui:ModernTab Layout="List" Links="{Binding XPath='//ContentType', Converter={StaticResource ResourceKey=XmlListToMuiLinkCollectionConverter}}">-->
                <!--<mui:ModernTab.Links>
                <mui:Link DisplayName="Item 1" />
                <mui:Link DisplayName="Item 2" />
            </mui:ModernTab.Links>-->
        </mui:ModernTab>
        <!--<mui:ModernTab Layout="List">
            <ScrollViewer>
                <StackPanel MinWidth="200">
                    <TextBlock Text="Features" Style="{StaticResource Heading2}" />
                    <DataGrid AutoGenerateColumns="False" DataContext="{DynamicResource ResourceKey=globalXmlDataSource}" ItemsSource="{Binding XPath='//Feature'}">
                        <DataGrid.Columns>
                            <DataGridTextColumn Header="Scope" Binding="{Binding XPath=@Scope}" HeaderStyle="{StaticResource ResourceKey=AlignLeftHeaderStyle}"/>
                            <DataGridTextColumn Header="Id" Binding="{Binding XPath=@Id}" HeaderStyle="{StaticResource ResourceKey=AlignLeftHeaderStyle}"/>
                            <DataGridTextColumn Header="Title"  Binding="{Binding XPath=@Title}" HeaderStyle="{StaticResource ResourceKey=AlignLeftHeaderStyle}"/>
                            <DataGridTextColumn Header="Solution"  Binding="{Binding XPath='ancestor::*[name() = &quot;Solution&quot;]/@SolutionName'}" Width="*" HeaderStyle="{StaticResource ResourceKey=AlignLeftHeaderStyle}"/>
                        </DataGrid.Columns>
                    </DataGrid>
                </StackPanel>
            </ScrollViewer>
        </mui:ModernTab>-->
    </Grid>
</UserControl>
